package com.ygou.pojo;

import java.math.BigDecimal;

public class Ordergoods {
    private Integer id;

    private Integer orderid;

    private Integer goodsid;

    private Integer goodnums;

    private BigDecimal goodsprice;

    private String goodsnames;

    private String goodsthums;
    
    private Integer skuattr;
    
    private Goods good;
    
    public Goods getGood() {
		return good;
	}

	public void setGood(Goods good) {
		this.good = good;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getGoodnums() {
        return goodnums;
    }

    public void setGoodnums(Integer goodnums) {
        this.goodnums = goodnums;
    }

    public BigDecimal getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(BigDecimal goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getGoodsnames() {
        return goodsnames;
    }

    public void setGoodsnames(String goodsnames) {
        this.goodsnames = goodsnames == null ? null : goodsnames.trim();
    }

    public String getGoodsthums() {
        return goodsthums;
    }

    public void setGoodsthums(String goodsthums) {
        this.goodsthums = goodsthums == null ? null : goodsthums.trim();
    }
    
	public Integer getSkuattr() {
		return skuattr;
	}

	public void setSkuattr(Integer skuattr) {
		this.skuattr = skuattr;
	}

	public Ordergoods() {
		super();
	}

	public Ordergoods(Integer id, Integer orderid, Integer goodsid, Integer goodnums, BigDecimal goodsprice,
			String goodsnames, String goodsthums, Integer skuattr, Goods good) {
		super();
		this.id = id;
		this.orderid = orderid;
		this.goodsid = goodsid;
		this.goodnums = goodnums;
		this.goodsprice = goodsprice;
		this.goodsnames = goodsnames;
		this.goodsthums = goodsthums;
		this.skuattr = skuattr;
		this.good = good;
	}

}